$(document).on("mobileinit", function() {
	$.extend($.mobile, {
		initialize:function(){
		},
		renderBody: function(){
		},
		addFakeClass: function(e) {
			$(e.currentTarget).addClass('fake-active');
		},
		removeFakeClass: function(e) {
			$(e.currentTarget).removeClass('fake-active');
		},
		loadingMessage: 'Laddar',
		cookieDomain: '.xxx.com',
		fullSiteUrl: 'www.xxx.com',
		//ajaxEnabled: false,
		defaultTransition: "slidedown",
		//ajaxLinksEnabled: false,
		//ajaxFormsEnabled: false,
		init: {
			bindEvent: function(){
				$('.myfooter li').not('.ui-btn-active').on('tap',function(){
					alert(2)
				});   
			}
		}
	});
	$.mobile.renderBody();
	
	 /* $.mobile.autoInitializePage = false;*/
	
	//$.mobile.loadPage('./test.html');
	/*$.mobile.loadPage( "searchresults.php", {
		type: "post",
		data: $("form#search").serialize()
	});*/
});